Shortcuts
(
50
actions, 34 KB)
0 Open Shortcuts Folder
target
:
{ "symbol": { "systemName": "rectangle.stack" }, "title": { "key": "All Shortcuts" }, "subtitle": { "key": "All Shortcuts" }, "identifier": "allshortcuts" }
1 If
[DeviceDetails
βs OS
]
is
macOS
2 TextγΒ»
π What are you looking for? β Queries are case-insensitive ββββββββββββββ π‘ Tap "Done" for other options
3 Ask for Text InputγΒ»
4
5
AskActionPrompt
:
[2 Text]
AllowsMultilineText
:
false
4 If
[3 Provided Input]
has any value
5 Run Shortcut
_Filter Shortcuts
γΒ»
6
7
10
12
16
Input
:
[3 Ask for Input]
Workflow
:
{ "workflowIdentifier": "666AFA98-700A-45EF-9979-C5C4DFA7E44C", "workflowName": "_Filter Shortcuts", "isSelf": false }
6 If
[5 Shortcut Result]
has any value
7 Count Items in
[5 Shortcut Result]
γΒ»
8
9
8 If
[7 Count]
>
1
9 TextγΒ»
ππ½ββοΈ
[7 Count]
Results Found ββββββββββββββ π€ Which one?
10 Choose from List
[5 Shortcut Result]
ChooseFromListActionPrompt
:
[9 Text]
11 Otherwise
12 Get Text from
[5 Shortcut Result]
13 End IfγΒ»
14 shortcuts.OpenWorkflowAction
Workflow
:
[13 If Result]
target
:
[13 If Result
βs Name
]
15 Otherwiseγβ΅
6
16 Run Shortcut
Open Shortcut
Input
:
[5 Shortcut Result]
Workflow
:
{ "workflowIdentifier": "130DBC8F-B6A3-4A2D-9044-F9CA27591DD2", "workflowName": "Open Shortcut", "isSelf": true }
17 End If
18 Otherwiseγβ΅
4
19 Choose from Menu
MenuPrompt
:
π€ What do you want to do?
MenuItems
:
[π Open Folder, π Create New Shortcut]
20 Menu Item
π Open Folder
21 Run Shortcut
Get Folders in Shortcuts App
γβ All Folders
γΒ»
25
39
Workflow
:
{ "workflowIdentifier": "FE0BC520-92F0-4867-9291-1CF31F6AD95D", "workflowName": "Get Folders in Shortcuts App", "isSelf": false }
22 TextγΒ»
π€ What is the folder name? ββββββββββββββ π‘ Tap "Done" for all folders
23 Ask for Text InputγΒ»
24
25
AskActionPrompt
:
[22 Text]
AllowsMultilineText
:
false
24 If
[23 Provided Input]
has any value
25 DictionaryγΒ»
{ "keyword(s)": "
[23 Ask for Input]
", "listOfItems": "
[21 All Folders]
" }
26 Run Shortcut
Filter By Keyword
γΒ»
27
28
31
33
Input
:
[25 Dictionary]
Workflow
:
{ "workflowIdentifier": "ACEAE896-27D8-494F-B4B7-D8F61BA292EF", "workflowName": "Filter By Keyword", "isSelf": false }
27 If
[26 Shortcut Result]
has any value
28 Count Items in
[26 Shortcut Result]
γΒ»
29
30
29 If
[28 Count]
>
1
30 TextγΒ»
ππ½ββοΈ
[28 Count]
Results Found ββββββββββββββ π€ Which one?
31 Choose from List
[26 Shortcut Result]
ChooseFromListActionPrompt
:
[30 Text]
ChooseFromListActionSelectMultiple
:
false
32 Otherwise
33 Get Text from
[26 Shortcut Result]
34 End If
35 Otherwiseγβ΅
27
36 Text
All Shortcuts
37 End If
38 Otherwiseγβ΅
24
39 Choose from List
[21 All Folders]
ChooseFromListActionPrompt
:
π€ Which folder?
ChooseFromListActionSelectMultiple
:
false
40 End IfγΒ»
41 Open Shortcuts Folder
target
:
[40 If Result
βs Name
]
42 Menu Item
π Create New Shortcut
γβ΅
20
43 Ask for Text InputγΒ»
AllowsMultilineText
:
false
AskActionDefaultAnswer
:
Untitled
AskActionPrompt
:
π€ What is the Shortcut name?
44 Create Shortcut
[43 Provided Input]
γΒ»
OpenWhenRun
:
false
45 shortcuts.OpenWorkflowAction
target
:
[44 Shortcut]
Workflow
:
[44 Shortcut]
46 End Menu
47 End Ifγβ΅
18
48 End Ifγβ΅
1
49 Stop This Shortcut